Re: [Rd] capture error messages from loading shared objects

2023-11-28 Thread Adrian Dusa
Once again, Ivan, many thanks. Yes, that does solve it. Best wishes, Adrian On Tue, Nov 28, 2023 at 11:28 AM Ivan Krylov wrote: > В Tue, 28 Nov 2023 10:46:45 +0100 > Adrian Dusa пишет: > > > tryCatch(requireNamespace("foobar"), error = function(e) e) > >

[Rd] capture error messages from loading shared objects

2023-11-28 Thread Adrian Dusa
Fellow R developers, I can capture usual error message using the normal way: > tc <- tryCatch(1 + a, error = function(e) e) > tc However I have troubles capturing the error message from this type of error: > tc <- tryCatch(requireNamespace("foobar"), error = function(e) e) Loading required name

Re: [Rd] "NA" vs. NA

2012-04-05 Thread Adrian Dusa
On Thu, Apr 5, 2012 at 14:49, Duncan Murdoch wrote: > On 12-04-05 7:27 AM, Adrian Dusa wrote: >>[...] > > You still haven't explained what you are doing to cause the problem, so I'll > guess that you have this file in your data directory of the package, in > tab-de

Re: [Rd] "NA" vs. NA

2012-04-05 Thread Adrian Dusa
Hi Ted, On Thu, Apr 5, 2012 at 14:22, Ted Harding wrote: > On 05-Apr-2012 11:03:15 Adrian Dusa wrote: >> [...] > > Hi Adrian, > The default in read.table() for the "na.strings" parameter is > >  na.strings = "NA" > > So, provided you have no &q

[Rd] "NA" vs. NA

2012-04-05 Thread Adrian Dusa
n R, but I assumed that when quoted it would be usable. For the moment I simply changes the country code, but I wonder if there's any (other) solution to circumvent this issue. Thanks very much in advance, Adrian -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd. 050025 Bucha

Re: [Rd] library path in Rd link

2007-11-16 Thread Adrian Dusa
On Wednesday 14 November 2007, Duncan Murdoch wrote: > On 11/14/2007 8:49 AM, Adrian Dusa wrote: > > [...] > > > > Is there a method to create links to functions from the base package, for > > example (which is installed by default in the normal library folder)? >

Re: [Rd] library path in Rd link

2007-11-15 Thread Adrian Dusa
s on a system with 1450 > packages on the local disc, and 33 secs on a slower system with > network-mounted FS. Completely understandable, it's not going to be automatic. Users who don't suffer from these restrictions could manually make use of the script. Thank you very much, Adrian

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
my personal purposes, all questions have been answered though. Thank you very much, Adrian -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd 050025 Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
ages are attached; > you should be able to say utils::help.start() to get it to run. Smooth :o) -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd 050025 Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101 ___

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
eems foo help is not linked into the system. But there are (at least on Linux) two more than acceptable solutions: - soft link the folders from /usr/lib/R/library/ to myRlibrary/ (your suggestion, I like it very much and it makes me a happy Linux user) - use help.start() which links all packages he

[Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
default R library folder, but into some other subfolder in my home, so the link searches for "otherpackage" in my home subfolder. Is there a method to create links to functions from the base package, for example (which is installed by default in the normal library folder)? Thank you,

[Rd] slow tcl/tk

2007-10-31 Thread Adrian Dusa
s one as well. Is there something changed about tcl/tk in R 2.6.0? Thanks in advance, Adrian -- Adrian Dusa University of Bucharest Faculty of Sociology and Social Work 9, Schitu Magureanu Bd. Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / in