Complete R distribution

41 views
Skip to first unread message

Dean Langsam

unread,
Apr 8, 2015, 9:29:37 AM4/8/15
to israel-r-...@googlegroups.com
היי. אני רוצה להשתמש באר בעבודה, אבל אין לנו חיבור לאינטרנט. צריך להכניס את התוכנה לרשת המשרדית עם דיסק.
יש הפצה של אר שמגיעה עם הרבה פאקג'ים בסיסיים מוכרים שבהתקנה אחת תדע להתקין לי אותם?
ואם לא האם יש הפצה או איזשהו זיפ עם הרבה מהחבילות מוכנות שאוכל לעשות
Install.package
באופן לוקלי בלי להתחיל עכשיו לחפש אחת-אחת את החבילות הרצויות?

משהו בסגנון אנקודה של פיית'ון, אבל לאר.

תודה

Jonathan Rosenblatt

unread,
Apr 8, 2015, 3:21:20 PM4/8/15
to israel-r-user-group
The query "local cran repository" will give you many good starting points on the tools available to do it.
Let me know if this is what you needed.



--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jonathan Rosenblatt
www.john-ros.com

Yoni Sidi

unread,
Apr 19, 2015, 3:48:59 PM4/19/15
to israel-r-...@googlegroups.com
i work in a fully offline environment with r due to security issues.

a few tips. it may sound heavy but downloading once the full repository of cran and placing it in your offline environment is a one time headache worth the time since if many people are using it for different end uses then you will always need that extra package to download, moreover the dependencies are rather large in the more current packages so manually downloading one at a time get old fast. updating your local repository is a small task once you have the big mass done. 

once you have the packages you want locally run this code

library(tools)
write_PACKAGES("path/to/packages/")
install.packages("dplyr",contriburl="file:///path/to/packages/")

this will install offline your package and the dependencies properly 

here is an example i created a temp folder that has all the dependencies to install the dplyr package

#to find the dependencies
> library(gtools)
> getDependencies("dplyr")
[1] "assertthat" "R6"         "Rcpp"       "magrittr"   "lazyeval"   "DBI"        "BH"        

> library(tools)
> write_PACKAGES("C:\\R\\dplyr")

#will generate an index of all source packages found in this directory. 

> install.packages("dplyr",contriburl="file:///c:/r/dplyr/")

#Note that in the example, there are 3 slashes behind the file: prefix. The third slash indicates a path relative to the root of the file system.

Installing package into ‘C:/Users/yoni/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘assertthat’, ‘R6’, ‘Rcpp’, ‘magrittr’, ‘lazyeval’, ‘DBI’, ‘BH’

package ‘assertthat’ successfully unpacked and MD5 sums checked
package ‘R6’ successfully unpacked and MD5 sums checked
package ‘Rcpp’ successfully unpacked and MD5 sums checked
package ‘magrittr’ successfully unpacked and MD5 sums checked
package ‘lazyeval’ successfully unpacked and MD5 sums checked
package ‘DBI’ successfully unpacked and MD5 sums checked
package ‘BH’ successfully unpacked and MD5 sums checked
package ‘dplyr’ successfully unpacked and MD5 sums checked


yoni

On Wednesday, April 8, 2015 at 10:21:20 PM UTC+3, Jonathan Rosenblatt wrote:
The query "local cran repository" will give you many good starting points on the tools available to do it.
Let me know if this is what you needed.


2015-04-08 16:29 GMT+03:00 Dean Langsam <dea...@gmail.com>:
היי. אני רוצה להשתמש באר בעבודה, אבל אין לנו חיבור לאינטרנט. צריך להכניס את התוכנה לרשת המשרדית עם דיסק.
יש הפצה של אר שמגיעה עם הרבה פאקג'ים בסיסיים מוכרים שבהתקנה אחת תדע להתקין לי אותם?
ואם לא האם יש הפצה או איזשהו זיפ עם הרבה מהחבילות מוכנות שאוכל לעשות
Install.package
באופן לוקלי בלי להתחיל עכשיו לחפש אחת-אחת את החבילות הרצויות?

משהו בסגנון אנקודה של פיית'ון, אבל לאר.

תודה

--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Jonathan Rosenblatt
www.john-ros.com

Jonathan Rosenblatt

unread,
May 10, 2015, 4:25:03 PM5/10/15
to israel-r-...@googlegroups.com
Just learned about drat:
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Jonathan Rosenblatt
www.john-ros.com

--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Jonathan Rosenblatt
www.john-ros.com


Yoni Sidi

unread,
May 12, 2015, 1:55:06 PM5/12/15
to israel-r-...@googlegroups.com
looks nice, but im guessing its a wrapper around same idea 
Just learned about drat:
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Jonathan Rosenblatt
www.john-ros.com

--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Jonathan Rosenblatt
www.john-ros.com


Reply all
Reply to author
Forward
0 new messages