Hello I tried to install R on my Transformer Prime without root. I downloaded the three files i found on: http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android and i extract all the files, also without root my prime. But now i can't install R with the files i extractet. Is it possible to install R on my Prime without root and how can i do it? Or is root a must, for using R? Thanks for help Simon [[alternative HTML version deleted]]
On Tue, Sep 11, 2012 at 12:51 PM, Simon Fry <s.fry at gmx.ch> wrote:> Hello > > I tried to install R on my Transformer Prime without root. I downloaded the > three files i found on: > > http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android > > and i extract all the files, also without root my prime. > > But now i can't install R with the files i extractet. > Is it possible to install R on my Prime without root and how can i do it? > Or is root a must, for using R? >It shouldn't be for the build process, (my local builds don't run as root) but it might be for getting the devtools in place. Where in the build process do you hit trouble? If there's a log output, post what you think are the relevant bits (too much is probably better than too little here) Cheers, Michael> Thanks for help > Simon > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Hello again I tried to do everything how described on the page: http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android So, i pushed the three files in the folder /sdcard/gcc Then i tried to extract the files with an android terminal with the commands: cd /sdcard/gcc tar xjf android_gcc_r2a.tar.bz2 tar xjf android_gcc_supplement.tar.bz2 tar xjf android_R_r1a2.tar.bz2 But that didn't work. It says: tar: not found So i downloaded Archidroid and extract the files with this programm and that worked. Well now i have in the folder /sdcard/gcc a lot of other folders, in fact: arm-elf-linux-androideabi bin include lib libexec R share tmp I tried then the following commands in the terminal: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sdcard/gcc/lib export PATH=$PATH:/data/sdcard/gcc/bin But this also didn't work. Here it says nothing, nothing happened. So my problem is, i have all the folders and data i need (well i think i have all), but i don't know how i can install them or run R. Thanks again for help Simon [[alternative HTML version deleted]]
On Wed, Sep 12, 2012 at 1:24 PM, Simon Fry <s.fry at gmx.ch> wrote:> Hello again > > I tried to do everything how described on the page: > > http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android > > So, i pushed the three files in the folder /sdcard/gcc > Then i tried to extract the files with an android terminal with the > commands: > > cd /sdcard/gcc > tar xjf android_gcc_r2a.tar.bz2 > tar xjf android_gcc_supplement.tar.bz2 > tar xjf android_R_r1a2.tar.bz2 > > But that didn't work. It says: > > tar: not found > > So i downloaded Archidroid and extract the files with this programm and that > worked. > > Well now i have in the folder /sdcard/gcc a lot of other folders, in fact: > > arm-elf-linux-androideabi > bin > include > lib > libexec > R > share > tmp > > I tried then the following commands in the terminal: > > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sdcard/gcc/lib > export PATH=$PATH:/data/sdcard/gcc/bin > > But this also didn't work. Here it says nothing, nothing happened. > > So my problem is, i have all the folders and data i need (well i think i > have all), but i don't know how i can install them or run R. > > Thanks again for help > Simon >I might be misunderstanding your question, but I assume you've run ./configure --without-recommended-packages && make to actually do the build? Likely in that R directory to find the config and makefiles. Michael
On Sep 12, 2012, at 14:24 , Simon Fry wrote:> Hello again > > I tried to do everything how described on the page: > > http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android > > So, i pushed the three files in the folder /sdcard/gcc > Then i tried to extract the files with an android terminal with the > commands: > > cd /sdcard/gcc > tar xjf android_gcc_r2a.tar.bz2 > tar xjf android_gcc_supplement.tar.bz2 > tar xjf android_R_r1a2.tar.bz2 > > But that didn't work. It says: > > tar: not found > > So i downloaded Archidroid and extract the files with this programm and > that worked.Or, you could have gotten yourself a copy of the tar program....> > Well now i have in the folder /sdcard/gcc a lot of other folders, in fact: > > arm-elf-linux-androideabi > bin > include > lib > libexec > R > share > tmp > > I tried then the following commands in the terminal: > > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sdcard/gcc/lib > export PATH=$PATH:/data/sdcard/gcc/bin > > But this also didn't work. Here it says nothing, nothing happened.Nothing is supposed to, that just sets a couple of variables.> So my problem is, i have all the folders and data i need (well i think i > have all), but i don't know how i can install them or run R.What happens if you say bin/R from the sdcard/gcc folder? (I have no specific knowledge about android, but that's how it would generally work in a unix-alike shell)> Thanks again for help > Simon > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On Thu, Sep 13, 2012 at 11:28 AM, Simon Fry <s.fry at gmx.ch> wrote:> Hi > > Well i think my problem is, that i don't have the permissions to execute > something in the folder. > > if i try: > > ./configure /sdcard/gcc > or > make /sdcard/gcc > makeinstall /sdcard/gcc > > it only says permission denied > > if i trie to change the permission with > > chmod 777 /sdcard/gcc > it says: operation permitedIs there a "not" missing here? That seems to be a strange error message... It wouldn't be surprising if you couldn't configure without write+execute permissions since you execute the configure script which writes on many other scripts. Untill you configure, you likely can't run make, so get that to work first.> > Can i change the permissions for a folder without root? > Or is this not the problem?It depends what the previously existing permissions are, but it's certainly easier if you sudo chmod instead. (sudo XXX instructs the computer to run XXX as root and will usually prompt for a password)> > It's the first time i trie to work with a terminal, so i'm an absolute > beginner...i tried and tried but the hole thing is not working... > > Simon >I've not used Android, so I'm going to assume it works like most other Unices... It might be worth your time to use a "regular" computer and just build from source there first, where it's a hair easier: Simon Urbanek has a nice write up of how it's done (on a Mac) here: http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#Building-R-from-sources though you probably don't need all those flags so really just start from 2.3 . I would also hold off on worrying about make install for a non-standard OS for now. Linux builds (and I assume Android) should be relatively similar so other tutorials will work if you can find one more to your taste: Windows is a whole different ball game so don't try to use those resources. Building R on Android seems to be a relatively rare undertaking, so I suggest we keep this on list to possibly attract someone who actually knows what they're talking about ;-) Cheers, Michael