Cannot Download any package in R - installation

I was trying to download any package in R but I did not run in the console. It appears just as the sentence that I previously wrote.
In other words in the source I have library(pacman);p_load(tidyverse,magrittr,janitor,scales,ranger,dplyr)
and in the console it appears > library(pacman);p_load(tidyverse,magrittr,janitor,scales,ranger,dplyr) but it does not run the libraries as previously and then I try to use the functions but they appear as not available..
Any ideas? I am new in R
Thank you! enter image description here
enter image description here
I tried to uninstall and install R, I also checked an option regardign HTTP.
.-.
Also, I tried to download the packages directly from the down right corner.

Related

why I am getting "it policies may be restricting access to this folder" while installing "Atom"?

please solve my problem, I was installing atom then suddenly a pop up showed of "it policies may be restricting access to this folder".
so what can I do to solve it...
you can fix that problem easily by following the steps given below :-
Copy the setup from the downloads
Go to (C:\Users{user_name}\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState)
Paste the setup in TempState
Right click the setup and select run as administrator
The app will be downloaded.

embedXcode not getting to work

Using Xcode-v7.1.1, embedXcode+, ArduinoMAC-v1.6.6,
I can't get embedXcode to work with any of the boards !
The installation of embedXcode and embedXcode+ was done according to the following LINK...
The board I intend to use is the "NodeMCU 0.9 ESP-12" as chosen in the create-new-project menu (as seen in middle-image below):
The error crops up by running "Build" (not the "All"-Target):
The error that I get is "nodemcu board is unknown" (see image at bottom)
Can anybody help me with this ? Highly appreciated !!
My case was solved by moving Arduino.app directly to /Applications folder.
I have multiple Arduino.app under i.e. /Applications/1.6.6/ or /Applications/1.7.4 ...etc. then the build process could not find the board.txt file in the Arduino.app.
Hope this helps.

How do I get help.start() to show package and user manual information?

I'm running R 3.1.1 (64-bit) on Windows 7, and R is up-to-date and freshly restarted. If I type help.start(), I get the expected help page (e.g.,
http://127.0.0.1:15729/doc/html/index.html
) to open in Firefox. Clicking on most links works; I get the expected page. Clicking on Packages and on User Manuals fails. For the former, I get a browser window at
http://127.0.0.1:15729/doc/html/packages.html
with "Error in gzfile(file, "rb") : cannot open the connection".
For the latter, I get a browser window at
http://127.0.0.1:15729/doc/html/UserManuals.html
with "Error in vignettes[i, "PDF"] : subscript out of bounds".
c:/R/R-3.1.1/doc/html contains an 81-line packages.html but no UserManuals.html.
This seems true whether I run help.start() out of ESS or out of RStudio.
If I start RStudio in an admin account and run help.start(), the main help page shows up in the RStudio Help window. Clicking on Packages now works, but clicking on User Manuals still fails with the same message as above.
As you can see above, R is stored in a directory with no spaces in the PATH name, and packages seem to be stored in c:/R/R-3.1.1/library.
Any pointers on how to fix either problem?

Font Awesome desktop-useable font install

I haven't been able to find a thread that solves my issue yet so opening this one up. I'm trying to install the font but it is giving me an error on install. We would like to use it in a desktop format initially so that document can be passed around internally and edited before putting on our site. I have read it should be good 'our-of-the-box' to install with no issues, however, when trying to install the font this is the error message I get:
"Cannot install FontAwesome.otf
The file '\common.ecamericas...\FontAwesome.otf' does not appear to be a valid font"
This happens for the true type font file as well. Any help would be appreciated so we could hash out which icons we would like to use without all getting in a single room together.
Thanks.
Try to install it with admin or root account

View or Test README files *md in a browser prior to pushing to an online repository for rendering

Is there an application or way to render a README.md file in a browser on or offline? I am learning Markdown, and want instant feedback on some of my writing, as sometimes I forget a space or a blank line to achieve what I want, and it is cumbersome for me to commit and push to GitHub to see its rendering, not to mention the insane number of commits I'm creating for a small change.
Some have suggested setting up a PHP environment in your own server or virtual server, but I don't know how to do that (yet). I was thinking of an extension that if you opened an *.md file in your browser (I use Chrome predominately, but occasionally FF), it would look the same was as the frame in GitHub.\
I use TextMate and Sublime Text 2 to write the markdown, maybe they have a function I haven't seen/found on their site?
Lazy answer
(for independent fast learners)
In Atom editor: Ctrl/Cmd+Shift+M
In Sublime Text: there's a package to highlight Github Flavored MD,
it renders live as you type within the very same editor, it may not
look very pretty but at least you can instantly know if you are
making mistakes. It's called knockdown. See this other question
and my answer to know more about it.
If you wan't to preview the pretty result in a browser before
publishing you can use the Markdown Preview package.
Elaborate answer
(sublime-text novice red cross!)
- Installing Package Control
Open sublime-text.
[If you need this functionality available when you edit files on a directory
owned by root or www-data ( i.e. /var/www/ ) you may want to open sublime with admin
privileges using gksu sublime or similar and repeat every step]
Activate sublime's console by pressing ctr+`
[That is CONTROL key plus GRAVE ACCENT key (usually above the TAB key)]
Copy-paste one of the following options to sublime console's prompt.
(and press enter):
If sublime-text 2:
import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
If sublime-text 3:
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Close sublime when the console prints back a message saying "Please restart Sublime Text to finish installation" (usually almost instantaneous). Open sublime-text again.
Once you restarted sublime-text, the rest is easy, see "Fast Answer" (above), or read on.
About using Package Control
What you just installed adds a new bunch of commands to your Palette and opens the door to a wonderful world of community contributed plugins; a way to extend sublime's functionality by other people or by yourself! (share your code!).
Now lets use it to install Markdown Preview.
You can access Package Controll simply by pressing ctr+shift+P, and typing Package Control, pc, pack (or anything similar thanks to the fuzzy search feature of the command palette), in this case search the right command by writing Package Control: Install Package (or just pi).
(If something goes wrong you can always Remove Package).
To see all the available packages just enter or click on it. Sublime will search for all the registered packages and will even check and show for you only the ones that are compatible with your version of sublime-text, you'll have to wait a few seconds.
(or less than a second, depending on your internet+computer latency+speed).
Now search for and select Markdown Preview.
After you hit Enter or click on it it will take a brief moment to install.
That's it, it just works.
- How to use it you ask?
To preview your pretty markdown in your default browser:
Inside sublime-text and with a .md file opened, press ctr+shift+P again.
Search for Markdown Preview and enter or click on it.
(There are many options, I just like github flavor the most :D)
... pics, else it shant have come to pass:
(it totally works! here's the evidence)
presto!
You just took one further step to be a sublime-text master, I hope my answer helped you
You can use the sublimetext-markdown-preview package for Sublime Text. It allows you to preview Markdown files on your browser. See the README.md for installation instructions.
You can install the python package index pip and then install an application called grip that will serve the .md file on a localhost port. Its very easy once its been installed.
sudo easy_install pip
sudo pip install grip
Then just run:
grip
In the root directory of the .md file.
There's a Chrome plugin to do exactly this.
Markdown Preview
Converts and previews markdown files (.md, .markdown) to HTML right inside Chrome.
If you're on OSX / Linux and don't mind the command line, here's a simple script that opens the rendered markdown in a browser:
#!/usr/bin/env bash
OUTPUT=/tmp/$(basename $1).html
markdown $1 > $OUTPUT
open $OUTPUT
# FIXME: Avoid deleting before opening; possible to use `wait`
# instead?
sleep 1
rm $OUTPUT
You might need to substitute the open command for something that works on your flavour of Linux, e.g. firefox $OUTPUT.
The sleep 1 is just a hack to prevent the file from being removed before the browser has time to read it; I'm sure a more proficient bash hacker can substitute it with something less ugly ;)
I like the free Chrome app stackedit. It lets you create and preview a markdown document at the same time - 2 panes.
Try MarkView a Chrome extension for editing and viewing markdown file with an outline view, support Github Flavored Markdown table styles and code block syntax highlight.
Features
Editing and Viewing markdown file in web page style.
Auto reload local file when file is changed (Post-installation:
select "Allow access to file URLs" option in chrome://extensions/)
Show outline beside the content in scrollable way
Have buttons for GoTop, ViewSource and GoBottom
Support Github Flavored Markdown table styles and code highlight.
Highlight the code area for programming languages(eg. ```ruby)
Support web pages printing with decent outlook(Chrome->File->Print...)
Responsive: when the window size small than 940px, outline section will
automatically hidden; resize bigger than 940px, outline section will display.
MarkView will view all markdown files except those under raw.github.com
because that subdomain only displays the source.
#regularjack's answer is probably the way to go, since it is integrated with Sublime Text. However, I just wanted to draw attention to Pandoc is a document converter program, written in Haskell, which converts between numerous file formats, including markdown. Whilst it requires installation there is also a page to try it out. Whilst not ideal for large documents this site gives you an easy way of copying and pasting markdown and seeing the foramtted result instantly.
FireFox has an editor. It is not perfect to do the editing directly, but it is great to quickly check a change or verify your file before checking in.
https://addons.mozilla.org/en-US/firefox/addon/markdown-editor/
Once you installed the Add-On, make sure to go to Customize.. (right click on icons, next to the menu at the top-right) to add the little icon to your bar. Then you will be able to open / close / save, etc. Just like a Desktop application.

Resources