Re: [R-SIG-Mac] How to put below code in Automator in iOS

2016-10-27 Thread Christofer Bogaso
t 27, 2016 at 11:10 PM, David Winsemius <dwinsem...@comcast.net> wrote: > >> On Oct 27, 2016, at 10:32 AM, David Winsemius <dwinsem...@comcast.net> wrote: >> >> >>> On Oct 27, 2016, at 10:16 AM, David Winsemius <dwinsem...@comcast.net> >>> w

Re: [R-SIG-Mac] How to put below code in Automator in iOS

2016-10-27 Thread Christofer Bogaso
:14 AM, David Winsemius <dwinsem...@comcast.net> wrote: > >> On Oct 27, 2016, at 11:25 AM, Christofer Bogaso >> <bogaso.christo...@gmail.com> wrote: >> >> Hi, >> >> I just have used that to provide an example what I am onto. My actual >> code

[R-SIG-Mac] R code to open and close a file in Mac

2016-11-02 Thread Christofer Bogaso
Hi, I was wondering if there is any R way to open/close (forcibly) any file (preferably Excel) within Mac. I have tried with system() function, however it generates error saying ".. No such file or directory" since I have <> in the underlying folder name. Can anyone here please help me with some

Re: [R-SIG-Mac] R code to open and close a file in Mac

2016-11-02 Thread Christofer Bogaso
Thanks, working perfectly. Any idea on forcibly closing that same file through R. Thanks again. On Wed, Nov 2, 2016 at 7:45 PM, Simon Urbanek <simon.urba...@r-project.org> wrote: > >> On Nov 2, 2016, at 10:02 AM, Christofer Bogaso <bogaso.christo...@gmail.com> >&g

[R-SIG-Mac] How to put below code in Automator in iOS

2016-10-27 Thread Christofer Bogaso
Hi, Previously I posted this same thread in general R help, however folks there suggested to post in this specialized group for better answer. I have a piece of code available here http://mcu.edu.tw/~chenmh/teaching/project/r/reference/RTclTkExamples/radiobuttons.html Now I put that code in a

Re: [R-SIG-Mac] Download data from Internet contained in a Zip file

2016-12-29 Thread Christofer Bogaso
sem...@comcast.net> wrote: > >> On Dec 26, 2016, at 10:37 AM, Christofer Bogaso >> <bogaso.christo...@gmail.com> wrote: >> >> Thanks David for your detailing. However still it not working for me : >> >>> library(downloader) >>>

[R-SIG-Mac] Download data from Internet contained in a Zip file

2016-12-25 Thread Christofer Bogaso
Hi again, I posted this in general R thread, however it is suggested this group since I am using MAC OS 10.7.5. I was following the instruction available in "http://stackoverflow.com/questions/3053833/using-r-to-download-zipped-data-file-extract-and-import-data; to download data from Internet

[R-SIG-Mac] Could not install Package:pdftools in Mac lion 10.7.5

2016-12-27 Thread Christofer Bogaso
Hi, I am trying to install "pdftools" package in R from source, however could not succeeded due to following error. Source file is downloaded from https://cran.r-project.org/web/packages/pdftools/index.html Appreciate for any pointer how to install it properly. I am using R version 3.2.1

Re: [R-SIG-Mac] Could not install Package:pdftools in Mac lion 10.7.5

2016-12-27 Thread Christofer Bogaso
the one you use for compiling R packages. > > Note that Mac lion 10.7.5 has been deprecated for 2 over two years; > upgrading your OS is highly recommended. > > > > On Tue, Dec 27, 2016 at 7:05 PM, Christofer Bogaso > <bogaso.christo...@gmail.com> wrote: >> Hi, >&g

Re: [R-SIG-Mac] Could not install Package:pdftools in Mac lion 10.7.5

2016-12-27 Thread Christofer Bogaso
It giving below error :( > install.packages('/Users/ARR/pdftools_1.0.tgz', repos = NULL) tar: Failed to set default locale On Wed, Dec 28, 2016 at 12:35 AM, Jeroen Ooms <jeroen.o...@stat.ucla.edu> wrote: > On Tue, Dec 27, 2016 at 7:27 PM, Christofer Bogaso > <bogaso.christo..

Re: [R-SIG-Mac] Could not install Package:pdftools in Mac lion 10.7.5

2016-12-27 Thread Christofer Bogaso
ftools’ On Wed, Dec 28, 2016 at 12:51 AM, Jeroen Ooms <jeroen.o...@stat.ucla.edu> wrote: > On Tue, Dec 27, 2016 at 8:09 PM, Christofer Bogaso > <bogaso.christo...@gmail.com> wrote: >> It giving below error :( >> >>> install.packages('/Users/ARR/pdftools_

Re: [R-SIG-Mac] Download data from Internet contained in a Zip file

2016-12-26 Thread Christofer Bogaso
ded_packages >> library(downloader) >> help(pac=downloader) > starting httpd help server ... done >> download("https://npscra.nsdl.co.in/download.php?path=download/=NAV_File_23122016.zip","temp.zip;) > > # Requires both a source and destination file name. &

Re: [R-SIG-Mac] Download data from Internet contained in a Zip file

2016-12-26 Thread Christofer Bogaso
PM, David Winsemius <dwinsem...@comcast.net> wrote: > >> On Dec 26, 2016, at 3:19 AM, Christofer Bogaso <bogaso.christo...@gmail.com> >> wrote: >> >> Hi David et al, >> >> Thanks for showing the pointers. With your approach, I see the >> &quo

Re: [R-SIG-Mac] Permanently fix R to open Help page in html

2017-07-11 Thread Christofer Bogaso
citation()' on how to cite R or R packages in publications. > > Type 'demo()' for some demos, 'help()' for on-line help, or > 'help.start()' for an HTML browser interface to help. > Type 'q()' to quit R. > >> options(help_type = 'html') >> ?source > starting httpd help se

Re: [R-SIG-Mac] Permanently fix R to open Help page in html

2017-07-11 Thread Christofer Bogaso
> > Can you post your .Rprofile file someplace online (e.g. Dropbox) so that we > can take a look at it? > > Marc > > >> On Jul 11, 2017, at 9:48 AM, Christofer Bogaso <bogaso.christo...@gmail.com> >> wrote: >> >> Hi Ben, >> >> I work with

Re: [R-SIG-Mac] Permanently fix R to open Help page in html

2017-07-11 Thread Christofer Bogaso
that there is not a conflict in content or > structure someplace. > > An extra set of eyes might be helpful. > > Marc > >> On Jul 11, 2017, at 9:52 AM, Christofer Bogaso <bogaso.christo...@gmail.com> >> wrote: >> >> Hi, >> >> I just put options(

Re: [R-SIG-Mac] Permanently fix R to open Help page in html

2017-07-10 Thread Christofer Bogaso
Performed steps according to Marc's suggestions : But not help page is not openning in Browser. On Tue, Jul 11, 2017 at 7:28 AM, Marc Schwartz <marc_schwa...@me.com> wrote: > >> On Jul 10, 2017, at 5:19 PM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: >> >>

[R-SIG-Mac] Permanently fix R to open Help page in html

2017-07-10 Thread Christofer Bogaso
Hi, I wanted R to open any Help page in html permanently. So 1st I created .Rprofile file with below code in terminal: touch ~/.Rprofile open -a Textedit ~/.Rprofile And then in the .Rprofile file, I wrote below code : options(help_type = ‘html’) However after that when I start R (from

Re: [R-SIG-Mac] rJava stops loading since I upgraded R to 3.4.0

2017-05-24 Thread Christofer Bogaso
iguration in /Library/Frameworks/R.framework/Resources Done. On Wed, May 24, 2017 at 10:28 AM, Simon Urbanek <simon.urba...@r-project.org> wrote: > Christofer, > >> On May 23, 2017, at 7:44 PM, Christofer Bogaso <bogaso.christo...@gmail.com> >> wrote: >> >> Hi Da

[R-SIG-Mac] rJava stops loading since I upgraded R to 3.4.0

2017-05-23 Thread Christofer Bogaso
Hi again, After I upgraded R to 3.4.0, I could not load rJava package. Below is the error : > library(rJava) Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load

Re: [R-SIG-Mac] rJava stops loading since I upgraded R to 3.4.0

2017-05-23 Thread Christofer Bogaso
Hi David, The file 'rJava.so' exists in my machine : > file.exists('/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rJava/libs/rJava.so') [1] TRUE Also the Javac version that I have : > system('javac -version') javac 1.6.0_65 Looks like mine is older than you. Do I need to

[R-SIG-Mac] R is taking too long to load

2017-05-18 Thread Christofer Bogaso
Hi, It just started happening recently that R is taking too long to load and entire system freezes during its loading. Have anyone experienced something similar? Previously my R was completely okay, however it just started recently. Any solution for this? I have reinstalled R and now it is the

Re: [R-SIG-Mac] R is taking too long to load

2017-05-18 Thread Christofer Bogaso
way. If starting R with --vanilla is fast, then > that's probably the case. > > H. > > > On 05/18/2017 12:44 PM, Christofer Bogaso wrote: >> >> Hi, >> >> It just started happening recently that R is taking too long to load >> and entire system freezes during its lo

[R-SIG-Mac] Executing iOS system code within R

2017-10-10 Thread Christofer Bogaso
Hi again, I need to execute few line of system codes for iOS from R. Basically that execution involves (as an example) : 1. Change the Working directory first 2. Execute some task (e.g.deleting a file) 3. Then go back to original folder/directory I am aware of system() function which can be

Re: [R-SIG-Mac] Executing iOS system code within R

2017-10-10 Thread Christofer Bogaso
./runme.sh; cd $PWD') will do basically this. > > Every time you run the system call it should be spawning a new shell > with a fresh environment. > > --e > > > On Tue, Oct 10, 2017 at 12:58 PM, Christofer Bogaso > <bogaso.christo...@gmail.com> wrote: >> Hi again, &g

Re: [R-SIG-Mac] Executing iOS system code within R

2017-10-10 Thread Christofer Bogaso
--e > > > On Tue, Oct 10, 2017 at 12:58 PM, Christofer Bogaso > <bogaso.christo...@gmail.com> wrote: >> Hi again, >> >> I need to execute few line of system codes for iOS from R. Basically >> that execution involves (as an example) : >> >>

[R-SIG-Mac] Opening single Terminal window and running syntax sequentially from R

2018-01-10 Thread Christofer Bogaso
Hi, I have an .app file saved in Harddisk, which I want to run from R. So below is the code which I use: system("open '.../My_File.app'") However, if I run above code multiple times (sequentially) then each time a new Terminal window opens that make my system cluttered. So I wonder if there is

Re: [R-SIG-Mac] How to change default Browser for R

2018-08-04 Thread Christofer Bogaso
It worked. On Sat, Aug 4, 2018 at 5:48 PM Marc Schwartz wrote: > > > On Aug 4, 2018, at 2:41 AM, Christofer Bogaso < > bogaso.christo...@gmail.com> wrote: > > > > Hi, > > > > In my Mac, I have 2 browsers installed : > > > > Chrome (system

[R-SIG-Mac] How to change default Browser for R

2018-08-04 Thread Christofer Bogaso
Hi, In my Mac, I have 2 browsers installed : Chrome (system default) Google Chrome Canary While for my regular browsing work I use Chrome, However for R I prefer to use Canary (like, opening Help page). Is there any way to set Canary only for R, however keeping system default unchanged. Thanks

[R-SIG-Mac] How to suppress message in system()

2018-11-29 Thread Christofer Bogaso
Hi, There is a function called system() with which one can run system code within R. But I am wondering if there is any way to suppress any message when invoking system(). For example let run 'df_dummy' through system() [yes, this is just dummy command which would throw error while invoking] >

[R-SIG-Mac] List of unnecessary messages when I plot something in R from Terminal

2023-02-11 Thread Christofer Bogaso
Hi, When I plot something in R, then it open Quartz and in the console I see below messages > plot(1:4) > 1 HIToolbox 0x7ff8229a2726 > _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102 2 HIToolbox 0x7ff8229a22b8

Re: [R-SIG-Mac] List of unnecessary messages when I plot something in R from Terminal

2023-02-11 Thread Christofer Bogaso
Actually when I check from the Apple icon, then I see that I am actually running Ventura For some reason, R's sessionInfo() is reporting that I am running Big Sur. Not sure why R is reporting wrong. Thanks, On Sun, Feb 12, 2023 at 2:38 AM Christofer Bogaso wrote: > > Hi, > > I am

Re: [R-SIG-Mac] List of unnecessary messages when I plot something in R from Terminal

2023-02-11 Thread Christofer Bogaso
r a fix from > Apple. > > Cheers, > Simon > > > > > On Feb 11, 2023, at 11:28 PM, Christofer Bogaso > > wrote: > > > > Hi, > > > > When I plot something in R, then it open Quartz and in the console I > > see below messages &g

Re: [R-SIG-Mac] List of unnecessary messages when I plot something in R from Terminal

2023-02-12 Thread Christofer Bogaso
BW > >> F > >>> On 11. Feb 2023, at 23.53, Jeff Newmiller > >>> wrote: > >>> > >>> Operating systems are designed to be as backward-compatible as > >>> possible... R Core doesn't generally know what distinguishing features > >>